From b81f97cd01753eabe3722b8a9211e4f3f8d621ef Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 16 Mar 2025 14:32:10 +0000 Subject: Garbage collect arrays --- ...l(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 60808ec5..407e5776 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructNonPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -20,7 +20,7 @@ Compilation unit elements: return-type=int body=( (call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ()) - (call (local "structValuePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 1))) + (call (local "structValuePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3))) ( memory-store pointer=(local "structValuePointer__0") @@ -40,7 +40,7 @@ Compilation unit elements: pointer=(local "structValuePointer__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (int int)))) offset=(0 2) - value=(int-const 1) + value=(int-const 3) ) ( memory-store @@ -68,7 +68,7 @@ Locals: Instructions: ( - (call (local "closurePointer__User__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 2))) + (call (local "closurePointer__User__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct ()))))))) (int32-const 4))) ( memory-store pointer=(local "closurePointer__User__0") -- cgit v1.2.3